<% @posts.each do |post| %>
  <div class="post_content">
  <div>
    <%= link_to  post.title, post, :class=>"title" %>
  </div>
  
    <div class="span-24">
    <%= post.content %>
  </div>
  <div>
    <%= link_to 'Show', post %>
    <%= link_to 'Edit', edit_post_path(post) %>
    <%= link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete %>
  </div>
</div>
<% end %>



<br />

<%= link_to 'New Post', new_post_path %>
